<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<title>云校通-教师-学生常规详情</title>
<jsp:include page="/WEB-INF/page/common/_header.jsp"></jsp:include>
<body ontouchstart>
	<div class="weui_tab tab-bottom">
	  <div class="weui-header bg-blue"> 
	  	<div class="weui-header-left"> <a onclick="back()" href="javascript:" class="icon icon-109 f-white">返回</a> </div>
	    <h1 class="weui-header-title">学生常规详情</h1>
	  </div>
      <div class="weui_tab_bd">
        <div class="weui_cells" style="margin: 0;">
        		<div class="weui_cell">
                    <div class="weui_cell_bd weui_cell_primary">
                        <p>评价部门</p>
                    </div>
                    <div class="weui_cell_ft f-black">
                      <p>${detail.judgeDepart }</p>
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_bd weui_cell_primary">
                        <p>评价类别</p>
                    </div>
                    <div class="weui_cell_ft f-black">
                      <p>${detail.judgeType }</p>
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_bd weui_cell_primary">
                        <p>加减分</p>
                    </div>
                    <div class="weui_cell_ft f-black">
                      <p><c:if test="${detail.score > 0 }">+</c:if><fmt:formatNumber value="${detail.score}" pattern="#"/>分</p>
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_bd weui_cell_primary">
                        <p>评价日期</p>
                    </div>
                    <div class="weui_cell_ft f-black">
                      <p><fmt:formatDate pattern="yyyy-MM-dd HH:mm" value="${detail.createTime}" /></p>
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_bd weui_cell_primary">
                        <p>评价内容</p>
                    </div>
                </div>
                <div class="mg-click p10 pd30 mb40">
                  <p class="mb10">${detail.judgeContent }</p>
                  <c:forEach var="itm" items="${detail.attachList }">
                  	<img style="width: 100%;" src="${config.imgUrl }${itm.attachmentUrl}">
                  </c:forEach>
                </div>
            </div>
      </div>
    </div>
</body>
<jsp:include page="/WEB-INF/page/common/_footer.jsp"></jsp:include>
</html>